<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-compatible" content="IE=edge,chrome=1.0"/>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
    <title>专家团队</title>
    <link rel="stylesheet" href="__PUBLIC__/Home/default/static/css/style.css">
    <link rel="stylesheet" href="__PUBLIC__/Home/default/static/css/common.css">
    <link rel="stylesheet" href="__PUBLIC__/Home/default/static/css/main.css">
</head>
<body>
<include file="Public/common" />
<section class="expertSection">
    <div class="mainTitle">
        <span class="title">专家团队</span>
        <br/>
        <span class="details">EXPERT TEAM</span>
    </div>
    <div class="content auto clearfix">
        <foreach name="list" item="vo">
            <div class="col">
                <a href="{:U('detail',array('id'=>$vo[id]))}">
                    <div class="hotShop">
                        <div class="top">
                            <div class="img">
                                <img src="{$vo.img}" alt="">
                            </div>
                            <div class="btn-box">
                                <span>在线视频</span>
                            </div>
                        </div>
                        <div class="bottom">
                            {$vo.desc}
                        </div>
                    </div>
                </a>
            </div>
        </foreach>
    </div>
    <!--<div class="pagination">
        <a href="javascript:;" class="btn-prev">上一页</a>
        <a href="#" class="active">1</a>
        <a href="#">2</a>
        <a href="#">3</a>
        <a href="javascript:;" class="btn-next">下一页</a>
    </div>-->
    <?php
        $p = I('get.p',1);
        $topPage = $p - 1;
    ?>
    <div class="pagination">
        <a href="<?php echo U('index',array('p'=>$p-1));?>" class="btn-prev">上一页</a>
        <foreach name="page" item="vo">
            <a href="{:U('index',array('p'=>$vo[number]))}" <if condition="$p eq $vo[number]">class="active"</if> >{$vo.number}</a>
        </foreach>
        <a href="<?php echo U('index',array('p'=>$p+1));?>" class="btn-next">下一页</a>
    </div>
</section>

<include file="Public/fotter" />
<script src="__PUBLIC__/Home/default/static/js/jquery-2.1.4.min.js"></script>
<script>
    //页面回顶
    $('.icon4').on('click',function(){
        $('html,body').animate({
            scrollTop:0
        },200)
    });
</script>
</body>
</html>